package com.peanut.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.peanut.domain.bo.TabSpecBO;
import com.peanut.domain.po.TabSpecPO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 张涛
* @description 针对表【tab_spec】的数据库操作Service
* @createDate 2022-05-25 16:00:46
*/
public interface TabSpecService extends IService<TabSpecPO> {

    int addSpec(TabSpecBO bo);

    Page<TabSpecPO> findAll(Integer pageNumber, Integer pageSize);

    int updateSpec(TabSpecBO bo);

    List<TabSpecPO> getSpec();

    int deleteSpec(Long specId);
}
